package com.lzm.pojo;

import java.util.List;

public class Departments {
    private Integer d_id;

    private String d_name;

    private List<Doctor> doctorList;

    @Override
    public String toString() {
        return "Departments{" +
                "d_id=" + d_id +
                ", d_name='" + d_name + '\'' +
                ", doctorList=" + doctorList +
                '}';
    }

    public List<Doctor> getDoctorList() {
        return doctorList;
    }

    public void setDoctorList(List<Doctor> doctorList) {
        this.doctorList = doctorList;
    }

    public Integer getD_id() {
        return d_id;
    }

    public void setD_id(Integer d_id) {
        this.d_id = d_id;
    }

    public String getD_name() {
        return d_name;
    }

    public void setD_name(String d_name) {
        this.d_name = d_name == null ? null : d_name.trim();
    }

}